﻿function removeAttatchment(attatchDivID, elemid) {
    var attatchDiv = document.getElementById(attatchDivID);
    var elem = document.getElementById(elemid);
    attatchDiv.removeChild(elem);
    //add remove from session code
}

//for attatchmentid
function uniqid() {
    var newDate = new Date;
    return newDate.getTime();
}